CREATE TABLE [dbo].[tb_RelDivisionEspacioCurricular]
(
[idreldivisionEspacioCurricular] [int] NOT NULL IDENTITY(1, 1),
[idEspacioCurricular] [int] NULL,
[idDivision] [int] NULL,
[TipoCursada] [int] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[tb_RelDivisionEspacioCurricular] WITH NOCHECK ADD CONSTRAINT [FK_tb_RelDivisionEspacioCurricular_tb_Divisionestemp] FOREIGN KEY ([idDivision]) REFERENCES [dbo].[tb_Divisionestemp] ([idDivision])
GO
ALTER TABLE [dbo].[tb_RelDivisionEspacioCurricular] WITH NOCHECK ADD CONSTRAINT [FK_tb_RelDivisionEspacioCurricular_tb_EspaciosCurriculares] FOREIGN KEY ([idreldivisionEspacioCurricular]) REFERENCES [dbo].[tb_EspaciosCurriculares] ([idEspacioCurricular])
GO
